package com.nervenets.web.controller.handler.admin.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;

/**
 * Created by Joe on 2018/1/24.
 */
public class UserEnableParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "用户ID")
    private int targetUserId;
    @NeedValidation(type = Type.EMPTY, description = "启用为true,禁用为false")
    private boolean enable;

    public int getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(int targetUserId) {
        this.targetUserId = targetUserId;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
